#include "CaseDB/Impl/SqlSvrConnectionImpl.hpp"
#include <QtSql/QSqlDatabase>

namespace CaseDB { namespace Impl { 


SqlSvrConnectionImpl::SqlSvrConnectionImpl( const std::string& name, const std::string& connectionString )
	: ConnectionImpl( name, "QODBC")
{
	database_.close();
	database_.setDatabaseName( QString::fromStdString( connectionString));
}

}} // namespace Impl // namespace CaseDB
